package com.ordertracker.util;

/**
 * Description of class.
 * Created 1/18/13 3:58 PM
 *
 * @author andrey.rodin@playtech.com
 */

public final class Preconditions<T> {

    public static <T> void checkNull(T obj, String message) throws IllegalArgumentException{
        if (null == obj) {
            throw new IllegalArgumentException(message);
        }
    }
}
